package com.wsjj.yjh.mapper;

import com.wsjj.yjh.bean.FlinkTable;
import com.wsjj.yjh.bean.HiveTable;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface FlinkTableMapper {
    @Select("select count(*) as hive_table from flink_table")
    Integer selectCoumt();

    @Select("select * from flink_table where id=#{id}")
    FlinkTable selectById(@Param("id") Integer id);
}
